package com.itany.corejava.day07;

public class Dog extends Animal {


    public Dog(String name, int age) {
        super(name, age);
    }

    public void move(){
        System.out.println(getName()+"在跑");
    }
}
